/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package metricmaster.gui.plannedtab;

import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.ListSelectionModel;

/**
 *
 * @author markblanda
 */
public class PlannedPanel extends JPanel {
    private JTable plannedTable;
    private PlannedTableModel plannedTableModel;
    private JScrollPane scrollPane;
    
    public PlannedPanel() {
        plannedTableModel = new PlannedTableModel();
        plannedTable = new JTable(plannedTableModel);
        plannedTable.setPreferredScrollableViewportSize(new Dimension(825, 480));
        plannedTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        plannedTable.setShowGrid(true);
        plannedTable.setGridColor(Color.BLACK);
        scrollPane = new JScrollPane(plannedTable);
        this.add(scrollPane);
    }
}
